package com.project.internship.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.project.internship.entity.Student;
import com.baomidou.mybatisplus.extension.service.IService;
import com.project.internship.vo.StudentDeptMajorClassVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2020-04-07
 */
public interface StudentService extends IService<Student> {

    IPage<Student> getAllStudents(Page<Student> page, String keyword);

    Integer addStudent(Student student);

    Integer updateStudent(Student student);

    Integer deleteStudent(Long id);

    Integer deleteStudents(Long[] ids);

    List<Student> getStudents(Integer id);
}
